package com.matt.foundation.vo.course;

import lombok.Data;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/11/20
 * *******************************
 */
@Data
public class WebCoursePageVo {
    private Integer type;
    private String id;
    private String name;

    public static WebCoursePageVo of(Integer type, String id, String name){
        WebCoursePageVo vo = new WebCoursePageVo();
        vo.setId(id);
        vo.setType(type);
        vo.setName(name);
        return vo;
    }
}
